package com.lwq.nacosuserservice.service.impl;


import com.lwq.nacosuserservice.mapper.UserMapper;
import com.lwq.nacosuserservice.pojo.User;
import com.lwq.nacosuserservice.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Auther: 陆
 * @Date: 2024/01/30/11:04
 * @Description:
 */

@Service("userService")
public class UserServiceImpl implements UserService {
   @Autowired
   private UserMapper userMapper;
    @Override
    public User selectById(Long id) {
        User user = userMapper.select(id);
        return user;
    }
}
